<h3><?php echo $this->title ?></h3>
<h4><?php echo EICms_Translate::_('info'); ?></h4>
<div>
<ul>
	<li>PHP Version: <?php echo phpversion() ?></li>
	<li>Zend Version: <?php echo zend_version() ?></li>
	<li>Extensions: 
		<ul>
			<?php foreach(get_loaded_extensions() as $extension) { ?>
			<li><a href="http://php.net/<?php echo $extension ?>" target="_blank"><?php echo $extension ?></a></li>
			<?php } ?>
		</ul>
	</li>
</ul>
</div>
<div><h4><?php echo EICms_Translate::_('config');?></h4>
<?php
$iniInfo = array();
foreach(ini_get_all() as $key => $val) {
	$key = '<a href="http://nl.php.net/manual/en/ini.core.php#ini.' . str_replace('_','-',$key) . '" target="_blank">' . ucWords(str_replace(array('_','.'),' ',$key)) . '</a>';
	$iniInfo[] = array($key,$val['local_value']);
}
echo $this->partial('simpletable.phtml','default',
				array('headers' => array(EICms_Translate::_('option'),EICms_Translate::_('value')),
				'rows' => $iniInfo)) ?></div>
				
<div><h4><?php echo EICms_Translate::_('server');?></h4>
<?php
$serverInfo = array();
foreach($_SERVER as $key => $val) {
	$serverInfo[] = array($key,$val);
}
echo $this->partial('simpletable.phtml','default',
				array('headers' => array(EICms_Translate::_('option'),EICms_Translate::_('value')),
				'rows' => $serverInfo));
?></div>
<div><h4><?php echo EICms_Translate::_('env');?></h4>
<?php
$envInfo = array();
foreach($_ENV as $key => $val) {
	$envInfo[] = array($key,$val);
}
echo $this->partial('simpletable.phtml','default',
				array('headers' => array(EICms_Translate::_('option'),EICms_Translate::_('value')),
				'rows' => $envInfo));
				
?></div>